using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Turf : ITurf
{
    
    public byte TurfId { get; private set; }
    public string TurfName { get; private set; }
    public Material TurfMaterial { get; private set; }
    protected void TurfInit(byte turfId, string turfName, Material turfMaterial)
    {
        this.TurfId = turfId;
        this.TurfName = turfName;
        this.TurfMaterial = turfMaterial;
    }
    Material ITurf.GetFaceMaterial()
    {
        return TurfMaterial;
    }

    byte ITurf.GetTurfId()
    {
        return TurfId;
    }

    string ITurf.GetTurfName()
    {
        return TurfName;
    }
}
